#ifndef BASICINQ_H
#define BASICINQ_H

#include <QtGui/QMainWindow>


 class QLabel;
 class QComboBox;
 class QPushButton;
 class QString;
 class QInputDialog;
 class QSpinBox;
 class QCheckBox;
 class QRadioButton;
 class QAction;

namespace Ui
{
    class BasicINQ;
}

class BasicINQ : public QMainWindow
{
    Q_OBJECT

public:
    BasicINQ(QWidget *parent = 0);
    ~BasicINQ();

private slots:
    void on_Generate_button_clicked();
    void on_Create_button_clicked();
    void on_Turn_button_clicked();
    void on_Dodge_button_clicked();
    void on_Injur_button_clicked();
    void on_Heal_button_clicked();

    void on_actionFileNew_triggered();

        void on_actionFileRemoveAll_triggered();
        void on_actionFileRemoveCurrent_Character_triggered();

    void on_actionResetAll_triggered();
    void on_actionResetCurrent_triggered();

    void on_actionTurnNext_triggered();

    void on_SelectChar_currentIndexChanged(int);


private:
    Ui::BasicINQ *ui;

    QComboBox *ui_SelectClass;
    QComboBox *ui_SelectChar;

    QPushButton *ui_Generate_button;
    QPushButton *ui_Create_button;

    QLabel *ui_WS_box;
    QLabel *ui_BS_box;
    QLabel *ui_S_box;
    QLabel *ui_T_box;
    QLabel *ui_I_box;
    QLabel *ui_Wp_box;
    QLabel *ui_Sg_box;
    QLabel *ui_Nv_box;
    QLabel *ui_Ld_box;
    QLabel *ui_Speed_box;

    QLabel *ui_WS_box_2;
    QLabel *ui_BS_box_2;
    QLabel *ui_S_box_2;
    QLabel *ui_T_box_2;
    QLabel *ui_I_box_2;
    QLabel *ui_Wp_box_2;
    QLabel *ui_Sg_box_2;
    QLabel *ui_Nv_box_2;
    QLabel *ui_Ld_box_2;
    QLabel *ui_Speed_box_2;
    QSpinBox *ui_IT_spin;

    QSpinBox *ui_Head_spin;
    QSpinBox *ui_Chest_spin;
    QSpinBox *ui_Abdomen_spin;
    QSpinBox *ui_RArm_spin;
    QSpinBox *ui_LArm_spin;
    QSpinBox *ui_Groin_spin;
    QSpinBox *ui_RLeg_spin;
    QSpinBox *ui_LLeg_spin;

    QComboBox *ui_Head_combo;
    QComboBox *ui_Chest_combo;
    QComboBox *ui_Abdomen_combo;
    QComboBox *ui_RArm_combo;
    QComboBox *ui_LArm_combo;
    QComboBox *ui_Groin_combo;
    QComboBox *ui_RLeg_combo;
    QComboBox *ui_LLeg_combo;

    QCheckBox *ui_Head_check;
    QCheckBox *ui_Chest_check;
    QCheckBox *ui_Abdomen_check;
    QCheckBox *ui_RArm_check;
    QCheckBox *ui_LArm_check;
    QCheckBox *ui_Groin_check;
    QCheckBox *ui_RLeg_check;
    QCheckBox *ui_LLeg_check;

    QCheckBox *ui_Prone_check;
    QSpinBox  *ui_KB_spin;
    QCheckBox *ui_SS_check;
    QCheckBox *ui_KO_check;
    QCheckBox *ui_Dead_check;
    QSpinBox *ui_Stun_spin;

    QRadioButton *ui_Head_radio;
    QRadioButton *ui_Chest_radio;
    QRadioButton *ui_Abdomen_radio;
    QRadioButton *ui_RArm_radio;
    QRadioButton *ui_LArm_radio;
    QRadioButton *ui_Groin_radio;
    QRadioButton *ui_RLeg_radio;
    QRadioButton *ui_LLeg_radio;
    QRadioButton *ui_IT_radio;
    QRadioButton *ui_Location_radio;

    QSpinBox *ui_Injur_spin;
    QSpinBox *ui_Location_spin;

    QPushButton *ui_Injur_button;
    QPushButton *ui_Heal_button;

    QPushButton *ui_Turn_button;
    QSpinBox *ui_Turn_spin;

    QPushButton *ui_Dodge_button;
    QSpinBox *ui_RParry_spin;
    QSpinBox *ui_LParry_spin;

    void Damage(int location, int level,bool Injur);
    void HandyNotes();
    void LegyNotes();
    void ToughNotes();
    void HealNotes();
    void Notes();


};

#endif // BASICINQ_H
